import request from '@/utils/request'

// 验证码
export function captcha(key) {
  return request({
    url: '/manager/captcha',
    responseType: 'blob',
    params: {
      key
    }
  })
}

// 登录
export function login(data) {
  return request({
    url: '/manager/login',
    method: 'post',
    data
  })
}

